package cn.zjh.system.service.impl;

import cn.zjh.basic.service.impl.BaseServiceImpl;
import cn.zjh.system.domain.Dictionarytype;
import cn.zjh.system.mapper.DictionarydetailMapper;
import cn.zjh.system.mapper.DictionarytypeMapper;
import cn.zjh.system.service.IDictionarytypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DictionarytypeServiceImpl extends BaseServiceImpl<Dictionarytype> implements IDictionarytypeService {
    @Autowired
    private DictionarytypeMapper dictionarytypeMapper;
    @Autowired
    private DictionarydetailMapper dictionarydetailMapper;

    @Override
    public void deletee(Long id) {
        dictionarydetailMapper.delete(id);

        dictionarytypeMapper.delete(id);
    }
}
